package team.dmh.wx.service;

import team.dmh.wx.entity.FriendRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import team.dmh.wx.vo.FriendRequestVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzk
 * @since 2018-10-15
 */
public interface IFriendRequestService extends IService<FriendRequest> {

    boolean addFriend(String userId, String friendUsername);

    void ignore(String acceptUserId, String sendUserId);

    void pass(String acceptUserId, String sendUserId);

    List<FriendRequestVO> getFriendRequestVOList(String userId);
}
